home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / changpcb.zip / README.DOC < prev   
Text File  |  1993-05-13  |  3KB  |  96 lines

  1. CHANGE is a program, written for PCBoard, that lets you globally modify any or
  2. all of the following files:  PCBOARD.DAT, CNAMES.@@@, CNAMES.ADD, DOORS.LST,
  3. BLT.LST, SCRIPT.LST, DIR.LST and DLPATH.LST.
  4.  
  5. At its simplest, CHANGE will let you change a single line in the pcboard.dat
  6. file to a new value.
  7.  
  8. More powerfully, you could use CHANGE to update all of your PCBoard
  9. configuration files at once.  You might use this capability if you were to move
  10. all of your files from one drive letter to another or from one path to
  11. another.
  12.  
  13.  
  14. Usage:
  15. ------
  16.  
  17.    CHANGE {pcboard.dat} {/options} {/FROM:text} /TO:text
  18.  
  19.  
  20.  
  21. Options:
  22. --------
  23.  
  24.    None Specified      Operate only on the pcboard.dat file
  25.    /LINE:###           Specify a line number in pcboard.dat to change
  26.    /PCBDAT             Update PCBOARD.DAT
  27.    /CNAMES             Update CNAMES.@@@ and CNAMES.ADD
  28.    /DOORS              Update all DOORS.LST files
  29.    /BLT                Update all BLT.LST files
  30.    /SCRIPT             Update all SCRIPT.LST files
  31.    /DIR                Update all DIR.LST files
  32.    /DLPATH             Update all DLPATH.LST files
  33.  
  34.  
  35.  
  36. Notes:
  37. ------
  38.  
  39.    When /LINE:### is used, only the /TO:text option is necessary.
  40.  
  41.    If the FROM or TO text includes spaces then you must enclose the
  42.    entire switch in quotes (e.g. "/FROM:Salt Air BBS" "/TO:New BBS").
  43.  
  44.    The FROM and TO text is case sensitive.
  45.  
  46.  
  47.  
  48. Examples:
  49. --------
  50.  
  51.    CHANGE /LINE:91 /TO:10
  52.  
  53.    Change line #91 in the pcboard.dat to "10".  Line #91 is the node
  54.    number, so this change modifies the node number.
  55.  
  56.  
  57.  
  58.    CHANGE /PCBDAT /FROM:C: /TO:D:
  59.  
  60.    Change all drive C: references to D: in the pcboard.dat file that
  61.    is in the current directory.
  62.  
  63.  
  64.  
  65.    CHANGE /PCBDAT /CNAMES /DOORS /BLT /SCRIPT /DIR /DLPATH /FROM:C: /TO:D:
  66.  
  67.    Change all drive C: references to D: in the pcboard.dat file that
  68.    is in the current directory.  Using the pcboard.dat file, locate
  69.    and read the CNAMES files changing C: to D:.  Also, change all drive
  70.    C: references found in any of the .LST files to drive D:.
  71.  
  72.  
  73.  
  74.    CHANGE F:\PCBOARD.DAT /PCBDAT "/FROM:Salt Air BBS" "/TO:My New BBS"
  75.  
  76.    Updating the pcboard.dat file found on drive H: in the PCB
  77.    directory...  search for the name of the BBS and change it.
  78.  
  79.  
  80. History
  81. -------
  82. 5/13/93       Update
  83.               ------
  84.               Fixed a problem where CHANGE would remove a pcboard.dat file
  85.               if used like this:  CHANGE PCBOARD.DAT /FROM:xxx /TO:yyy
  86.  
  87.               What is missing is the /PCBDAT switch which should be used.
  88.               To avoid accidental erasure of the pcboard.dat file, change has
  89.               been fixed to avoid touching the pcboard.dat file without the
  90.               use of the /PCBDAT switch.
  91.  
  92.               Also, fixed a bug where DIR files could grow (unstoppably) if
  93.               you tried to update them with the /DIRS switch.
  94.  
  95. 4/14/93       Intial Release
  96.